package business;

import java.util.Map;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

import frame.action.Action;
import frame.form.ActionForm;
import service.operation.LoginService;
import service.operation.LoginServiceImp;

public class LoginAction implements Action {

	@Override
	public String execute(HttpServletRequest req,HttpServletResponse resp,ActionForm form,Map<String,String> actionForward) {
		String disUrl = "";
		LoginService service = new LoginServiceImp();
		disUrl = service.getVo(form,actionForward);
		req.setAttribute("form", form);
		return disUrl;
	}

}
